﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using LDAP.Web;
using LDAP.Entity;
using LDAP.BLL;

namespace LDAP.Web.View.Attendance
{
    public partial class AngelMgmt : AngelBasePage
    {
        public List<User> All;
        public List<string> DeptList;

        protected void Page_Load(object sender, EventArgs e)
        {
            string message = "";
            All = BizUser.AllUser(ref message);
            DeptList = string.Join(";", All.Select(l => l.DeptName).ToArray()).Split(';').Distinct().OrderBy(l => l).ToList();
        }
    }
}